GBML manual / Language

What is unavailable, and why

Every deliberate gap in GBML, the hardware or toolchain reason behind it, and what to use instead.

These are decisions, not gaps waiting to be filled

Every entry below is unavailable on purpose, for a concrete reason tied to the hardware or the toolchain - not an oversight, and not a feature planned for later. One entry breaks that pattern, and says so plainly: a constructor (function X(...) constructor {...}, called with new) is a real, designed feature the checker already understands correctly - it just has not been built yet, a genuine gap rather than a choice. It is listed here anyway, because right now it needs exactly what every other row gives: the real reason, and what to write instead. The API table carries an entry for each deliberate gap the same way (support: 'none', What GBML is), so reaching for one does not get you "unknown function" - it gets you the specific reason and what to do instead, the same as it does here. A plain struct LITERAL (/// @type {struct Vec2}, or an untagged { x: 0, y: 0 }) is not on this list any more - it compiles - see Structs and constructors for exactly what that covers and the one narrower thing (reading a field off a struct-typed script parameter) that still does not.

Not availableWhyInstead
A variable changing typeone instance variable is one field of one C++ typedeclare a second variable
undefined, or a value of unknown typenothing here is dynamically typed at run timenothing for "no instance"; a plain flag variable for anything else
try / catch / throwthe toolchain builds with exceptions turned off entirelyreturn a status value and check it
Reading or writing a variable by a name built at run timevariable names do not exist once compiled - there is nothing left at run time to look a name up inan array you index instead
A constructor (function X(...) constructor {...}) actually compiling, or calling one with newa real, disclosed gap, not a design choice - constructor/new type-check, but nothing yet turns the call into a real value; a plain struct LITERAL is a separate, WORKING feature - see Structs and constructorsa plain function, plus a struct literal built by hand where a constructor would have returned one
Adding a member to a struct after it is builta struct is one fixed shape, settled where you write it - this holds regardless of the row above, since it is about struct LITERALS, which already compiledeclare every member when you write the struct literal
An array, string, list, map, grid, stack or queue with no size limitmemory is fixed at build time, there is no heap to grow intodeclare a @capacity - overflow past it clamps and is reported in a development build, never corrupts anything
Free-form shapes, surfaces, or shadersthe hardware draws tiles and sprites, not arbitrary pixelsa sprite, a tiled background, or one of the effects the engine provides
Mouse, touch, gestures, or windowsnone of these exist on the hardwarebuttons - the Button events on Events, or the polling functions on Functions
Files, networking, or threadsnone of these exist on the hardware eitherthe save store (see the engine's audio-and-saving surface)
Calling a function by a name built at run timeno reflection - every call is resolved once, at compile timecall the function directly, or hold it as a function-typed variable (Functions) and call that
Changing the frame ratethe hardware's own refresh rate sets it, fixedcount frames instead of measuring elapsed time
A general physics enginenone exists on this hardware, or in this enginethe motion and collision functions the engine does provide

The pattern behind most of these

Look closely and almost every row comes back to the same handful of hard facts: the GBA has fixed memory with no heap to grow into, the build turns exceptions off, and there is genuinely no mouse, filesystem, or variable frame rate to expose - GBML is not being conservative here, it is telling the truth about what the machine in your hands can actually do. Where the machine shows through covers the other half of that honesty: the things that do work, with a note on exactly how the hardware shapes them.

See also: Variables, types and scopeWhere the machine shows throughWhat GBML isStructs and constructors